package com.microbroadcast.resource;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/*
 * resource class of Basic Info of User
 * 
 * Written by pansen at 2013/04/17
 * 
 */
@XmlRootElement(name="UserBasic")
public class UserBasic {
	/*
	 * ID of user
	 */
	private long userID;
	/*
	 * name of user
	 */
	private String userName;
	/*
	 * head Pic of user
	 */
	private byte[] headPic;

	public UserBasic(){}
	public UserBasic(long userID, String userName, byte[] headPic) {
		super();
		this.userID = userID;
		this.userName = userName;
		this.headPic = headPic;
	}

	@XmlElement(name="UserID")
	public long getUserID() {
		return userID;
	}

	public void setUserID(long userID) {
		this.userID = userID;
	}
	
	@XmlElement(name="UserName")
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@XmlElement(name="HeadPic")
	public byte[] getHeadPic() {
		return headPic;
	}

	public void setHeadPic(byte[] headPic) {
		this.headPic = headPic;
	}

}
